package com.yunhai.model.entity.fms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunhai.model.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 物料单位基础实体
 * 
 * @author mengze
 * @date 2025-05-17 12:43:11
 */
@ApiModel("物料单位基础实体")
@Data
@Accessors(chain = true)
@TableName("fms_material_unit")
public class FmsMaterialUnitEntity extends  BaseEntity{

	@ApiModelProperty(value = "主键id", example = "10001")
	@TableId(type = IdType.ASSIGN_ID)
	private Long id;
	/**
	 * 启用状态(1:启用 0:禁用)
	 */
	@ApiModelProperty("启用状态(1:启用 0:禁用)")
	private Integer enabled;

	/**
	 * 关联机型编号
	 */
	@ApiModelProperty("关联机型编号")
	private String mcNo = "MC0001";
	/**
	 * 单位编码
	 */
	@ApiModelProperty("单位编码")
	private String number;
	/**
	 * 单位名称
	 */
	@ApiModelProperty("单位名称")
	private String name;
}
